package com.codemonkey.lq.qd.utils;

/**
 * 取这么个名字就是为了避免和其他第三方包重复...
 * @author LQ
 *
 */
public final class StringHelper {
	private StringHelper() {
		super();
		throw new Error("does not initialize this class");
	}

	/**
	 * 直接抄自commons-lang3.jar
	 * @param cs
	 * @return
	 */
	public static boolean isEmpty(final CharSequence cs) {
		return cs == null || cs.length() == 0;
	}

	/**
	 * 直接抄自commons-lang3.jar
	 * @param cs
	 * @return
	 */
	public static boolean isNotEmpty(final CharSequence cs) {
		return !isEmpty(cs);
	}
}
